<!-- 1ra foto -->
{if $fotos[0].file != "" && $fotospublished == 1}
	<div id="imagenormal"><img src="images/{$folder}/{$fotos[0].file}"/></div>
	<div id="imageinfo" class="imageinfo">{$fotos[0].info}</div><br/>
{else}
	<!-- 1er plano -->
	{if $planos[0].file != "" && $planospublished == 1}
		<div id="imagenormal2"><img src="images/plano/{$planos[0].file}"/></div>
		<div id="imageinfo2" class="imageinfo">{$planos[0].info}</div><br/>
	{/if}					
{/if}

{php}
	include ("listafotos_js.html");
{/php}
<!-- Fotos -->
	<!--thumbnails slideshow begin-->
	<div id="SlideItMoo_outer">	
		<div id="SlideItMoo_inner">			
			<div id="SlideItMoo_items">
				{if $fotospublished == 1}
					{foreach from=$fotos item=foto}
						<div class="SlideItMoo_element">
							<a href="javascript:changeImage('images/{$folder}/{$foto.file}', '{$foto.info}')"><img src="images/{$folder}/small/{$foto.file}"/></a>
						</div>
					{/foreach}
				{/if}

				<!-- Planos -->
				{if $planospublished == 1}
					{if $planos|@count > 0}
						{foreach from=$planos item=plano}
						<div class="SlideItMoo_element">
							<a href="javascript:changeImage('images/plano/{$plano.file}', '{$plano.info}')"><img src="images/plano/small/{$plano.file}"/></a>
						</div>
						{/foreach}
					{/if}
				{/if}
			</div>			
		</div>
	</div>	
